Release 10.1A: OpenEdge Application Server:
Developing AppServer Applications


Accessing the connection ID on the client

On a Progress 4GL client, the connection ID is available as the value of the CLIENT-CONNECTION-ID attribute on the server object handle for the connection. This is a read-only attribute of type CHARACTER. For an Open Client application, OpenEdge provides appropriate common methods to access the connection ID (see OpenEdge Development: Open Client Introduction and Programming ).

For a client, the connection ID of a given AppServer connection remains the same until the client disconnects from the AppServer. If the client reconnects to the same AppServer, the connection ID of the new connection (and thus the value of the CLIENT-CONNECTION-ID attribute for that connection) is different from the connection ID of any previous connection.

For information on how the AppServer generates the value for a connection ID and how to use it, see the information on audit trails and the connection ID in Chapter 4, " Design and Implementation Considerations."


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095